package com.axin.oss;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Author axin
 * @Date 2021/9/21 23:17
 **/
@EnableFeignClients(basePackages="com.axin.oss.api")
@EnableDiscoveryClient
@SpringBootApplication
@ComponentScan(basePackages = {
        "com.axin.oss",
        "com.axin.common"
})
public class AxinOssApplication {

    public static void main(String[] args) {
        SpringApplication.run(AxinOssApplication.class, args);
        System.out.println("============  文件存储模块启动成功  ============");
    }
}
